package org.grapes.wine.api.server.util;

import java.util.ArrayList;
import java.util.List;

public class SQLHelper {
	private String sqlStatement;
	
	private List<String> stringToken = new ArrayList<String>();
	
	public void setSQLStatement(String sql) {
		sqlStatement = sql;
	}
	
	public String getSQLStatement() {
		return sqlStatement;
	}
	
	public void addToken(int index, String element) {
		stringToken.add(index, element);
	}
	
	public void removeToken(String token) {
		stringToken.remove(token);
	}
	
	public List<String> getToken() {
		return stringToken;
	}
}
